projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e6475
)
label: Don't create an unnecessary attribute list
author
Timm Bäder
<mail@baedert.org>
Tue, 14 Apr 2020 09:11:23 +0000
(11:11 +0200)
committer
Timm Bäder
<mail@baedert.org>
Fri, 17 Apr 2020 13:21:00 +0000
(15:21 +0200)
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index 9b75acfc04a353f4d7113a01d6abcb7d357213ff..4bf1e685ae115c2929d23b3816dfb92cb31d0f6d 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-2848,8
+2848,6
@@
gtk_label_update_layout_attributes (GtkLabel *self,
pango_attr_list_unref (link_attrs);
}
}
- else if (self->markup_attrs && self->attrs)
- attrs = pango_attr_list_new ();
else
attrs = NULL;